<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script src="jqury/jquery-3.3.1.min.js"></script>
    <script src="bootstrap/bootstrap.min.js"></script>
    <link rel="stylesheet" href="bootstrap/bootstrap-theme.min.css">
    <link rel="stylesheet" href="bootstrap/bootstrap.min.css">
</head>
<body>
<div th:replace="head::head"></div>
    <form class="form-inline" action="/addUser" id="form" method="post"  enctype = "multipart/form-data">
        <input type="hidden" th:value="${session.user.id}" name="id">
        <div class="form-group">
            <label for="exampleInputName2">用户名</label>
            <input type="text" name="username" class="form-control" id="exampleInputName2" placeholder="Jane Doe">
        </div>
        <div class="form-group">
            <label for="exampleInputEmail2">用户密码</label>
            <input type="text" name="password" class="form-control" id="exampleInputEmail2"
                   placeholder="jane.doe@example.com">
        </div>
        <div class="form-group">
            <label for="exampleInputEmail3">用户权限</label>
            <input type="text" name="role" class="form-control" id="exampleInputEmail3"
                   placeholder="admin">
        </div>
        <button type="submit" class="btn btn-default">注册</button>
    </form>
</body>
</html>